package com.hc.wdj.auth.server.data.loader;

import com.hc.wdj.auth.server.data.model.ClientModel;
import com.hc.wdj.auth.server.manager.OAuthManager;

/**
 * @author ryanwdj
 * @since 2024/11/20
 */
public interface OAuthDataLoader {


    default ClientModel getClientModel(String clientId){
        return OAuthManager.getServerConfig().getClients().get(clientId);
    }
}
